package thirdlyHomework;
import java.util.Scanner;
public class demo1 extends method1{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        method1 mt = new method1();

        System.out.print("请录入工人姓名："+"\n");
        String a=sc.next();
        System.out.print("请录入工人工龄："+"\n");
        int b =sc.nextInt();
        mt.Woker(a, b);
        System.out.println("----------");


    }


}
